<?php
error_reporting(0);
$isadmin=1;    
include '../comm/config.php';	
include 'check.php';
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>管理中心</title>
<link href="css/style.css" rel="stylesheet" type="text/css">
</head>

<body topmargin="5" leftmargin="0">
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="282" valign="top"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td>
          <table cellspacing="0" width="100%" height="207" style="border:1px  solid #DCEAF7;">
            <tr>
              <td height="30" colspan="2" bgcolor="E9F2FB" class="bigtext"><strong>&nbsp;<img src="images/arrow.gif" width="16" height="22" align="absmiddle" />返现宝设置[<a href="userlist.php?fxb=1">查看会员</a>]</strong></td>
            </tr>
            <tr>
              <td width="100%" colspan="2" valign="top"><table width="100%" height="300" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td valign="top"><form id="form1" name="form1" method="post" action="savefxb.php">
                    <br />
                    <table width="613" border="0" align="center" cellpadding="0" cellspacing="0">
                      <tr>
                        <td height="30" class="bigtext"><br /></td>
                    </tr>
                    </table>
                    <table width="614"  align="center" border=1 cellpadding=0 cellspacing=0
style="border-collapse: collapse" bordercolor="#dddddd">
                      					  <tr>
                        <td width="129" height="30" align="right" class="bigtext">右键菜单名称：</td>
                        <td width="597" height="30" class="bigtext">&nbsp;
                          <input name="fxbname" type="text" value="<?php echo FXBNAME;?>" size="40" class="btn3" style="width:300px" />                          
                          如返现宝(淘宝返现)；</td>
                      </tr>
                      <tr>
                        <td width="200" height="30" align="right" class="bigtext">返现宝开关：</td>
<td height="30" class="bigtext">&nbsp;
                          <label>
                          <select name="fxb_open">
                            <option value="1" <?php if(FXBOPEN==1) echo "selected";?>>开启</option>
                            <option value="0" <?php if(FXBOPEN==0) echo "selected";?>>关闭</option>
                          </select>
                          开启后任何人都可访问，关闭后只有特定会员可访问。会员详细内设置。                          </label></td>
                      </tr>
                      <tr>
                        <td height="30" align="right">&nbsp;</td>
                        <td height="30" class="bigtext">&nbsp;
                          <input type="submit" name="Submit" value=" 保 存 设 置 " /> 
                          &nbsp;&nbsp;&nbsp;</td>
                      </tr>
                    </table>
                    <table width="613" border="0" align="center" cellpadding="0" cellspacing="0">
                      <tr>
                        <td width="601" height="41" colspan="3">&nbsp;</td>
                        </tr>
                      <tr>
                        <td height="31" colspan="3"><strong>其他配置说明：</strong></td>
                      </tr>
                      <tr>
                        <td height="36" colspan="3"><p  style=" color:#FF0000">2011年9月起，返现宝已被淘宝视为非法插件，请慎重使用。如果一定要使用请先确保安全情况下使用，后果自负。</p>
                          <p>1、确保fanxianbao目录为可写。</p>
                          <p>2、请将网站基本信息中的网站名称，网站昵称，网址信息填写完全。</p>
<p>3、第一次配置请点击上面“保存设置”按钮。</p>
</td>
                      </tr>
                    </table>
                    <br />
                  </form>
                  </td>
                </tr>
              </table></td>
            </tr>
          </table></td>
        </tr>
      
    </table></td>
  </tr>
</table>
</body>
</html>
<?php mysql_close($link);?>
